package com.robotserver.orders.service;

import com.robotserver.orders.entity.ElmOrders;
import com.robotserver.orders.param.ElmOrderSyncParam;
import com.robotserver.orders.param.ElmOrderSyncParamV3;
import com.robotserver.orders.param.TbOrderSyncParamV3;
import com.robotserver.orders.param.biz.ElmOrderPullParam;
import com.robotserver.orders.vo.biz.PageVO;

import java.util.List;

/**
 * @Auther: lucher
 * @Date: 2023/03/15 11:24
 * @Description: 饿了么订单
 */
public interface ElmOrderService {

    PageVO getOrderList(ElmOrderPullParam param);

    PageVO  getOrderListNew(ElmOrderPullParam param);

    List<ElmOrders> getByParentOrderId(String parentOrderId);

    ElmOrders getByParentOrderId(String parentOrderId, String bizOrderId) ;

    /**
     * 通过工具商获取订单
     */
    void syncOrder_byAppKey(ElmOrderSyncParam elmOrderSyncParam);

    /**
     * 补单拉取饿了么订单-生产者-往redis队列当中生产
     */
    void syncOrder_byAppKey_producer(ElmOrderSyncParam elmOrderSyncParam);

    /**
     * 补单拉取饿了么订单-生产者-往redis队列当中生产
     */
    void syncOrder_byAppKey_consumer(ElmOrderSyncParam elmOrderSyncParam);

}
